System and method for supporting consistent handling of internal ID spaces for different partitions in an infiniband (IB) network

ABSTRACT

A system and method can support consistent handling of internal ID space for different partitions in an InfiniBand (IB) network. A plurality of partitions can be provided for a subnet with a plurality of hosts, wherein each partition of the subnet includes one or more hosts and each host can be associated with one or more physical HCA instances. Each partition in the subnet can be associated with a separate internal ID space, and a single physical HCA instance is prevented from being shared by different tenants that use a same internal ID value in different partitions.

CLAIM OF PRIORITY

This application claims the benefit of priority on U.S. Provisional Patent Application No. 61/493,330, entitled “STATEFUL SUBNET MANAGER FAILOVER IN A MIDDLEWARE MACHINE ENVIRONMENT” filed Jun. 3, 2011, which application is herein incorporated by reference.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

CROSS-REFERENCED APPLICATIONS

The current application hereby incorporates by reference the material in the following patent applications:

U.S. patent application Ser. No. 13/487,973 filed Jun. 4, 2012, entitled “SYSTEM AND METHOD FOR PROVIDING SECURE SUBNET MANAGEMENT AGENT (SMA) IN AN INFINIBAND (IB) NETWORK”, by inventors Bjørn Dag Johnsen, Ola Tørudbakken and David Brean.

U.S. patent application Ser. No. 13/488,040 filed Jun. 4, 2012, entitled “SYSTEM AND METHOD FOR AUTHENTICATING IDENTITY OF DISCOVERED COMPONENT IN AN INFINIBAND (IB) NETWORK”, by inventors Bjørn Dag Johnsen, Predrag Hodoba and Ola Tørudbakken.

U.S. patent application Ser. No. 13/488,113 filed Jun. 4, 2012, entitled “SYSTEM AND METHOD FOR PROVIDING SOURCE ID SPOOF PROTECTION IN AN INFINIBAND (IB) NETWORK,” filed by inventors Bjørn Dag Johnsen, Line Holen and David Brean.

FIELD OF INVENTION

The present invention is generally related to computer systems, and is particularly related to supporting an InfiniBand (IB) network.

BACKGROUND

The interconnection network plays a beneficial role in the next generation of super computers, clusters, and data centers. High performance network technology, such as the InfiniBand (IB) technology, is replacing proprietary or low-performance solutions in the high performance computing domain, where high bandwidth and low latency are the key requirements. For example, IB installations are used in supercomputers such as Los Alamos National Laboratory's Roadrunner, Texas Advanced Computing Center's Ranger, and Forschungszcntrum Juelich's JuRoPa.

IB was first standardized in October 2000 as a merge of two older technologies called Future I/O and Next Generation I/O. Due to its low latency, high bandwidth, and efficient utilization of host-side processing resources, it has been gaining acceptance within the High Performance Computing (HPC) community as a solution to build large and scalable computer clusters. The de facto system software for IB is OpenFabrics Enterprise Distribution (OFED), which is developed by dedicated professionals and maintained by the OpenFabrics Alliance. OFED is open source and is available for both GNU/Linux and Microsoft Windows.

SUMMARY

Described herein is a system and method that can support consistent handling of internal ID space for different partitions in an InfiniBand (IB) network. A plurality of partitions can be provided for a subnet with a plurality of hosts, wherein each partition of the subnet includes one or more hosts and each host can be associated with one or more physical HCA instances. Each partition in the subnet can be associated with a separate internal ID space, and a single physical HCA instance is prevented from being shared by different tenants that use a same internal ID value in different partitions.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 shows an illustration of a fabric model in a middleware environment in accordance with an embodiment of the invention.

FIG. 2 shows an illustration of supporting consistent handling of internal ID space for different partitions in an IB fabric in accordance with an embodiment of the invention.

FIG. 3 illustrates an exemplary flow chart for supporting consistent handling of internal ID space for different partitions in an IB fabric in accordance with an embodiment of the invention.

DETAILED DESCRIPTION

Described herein is a system and method that can support consistent handling of internal ID space for different partitions in an interconeted network, such as an InfiniBand (IB) network.

FIG. 1 shows an illustration of a fabric model in a middleware environment in accordance with an embodiment of the invention. As shown in FIG. 1, an interconnected network, or a fabric 100, can include switches 101-103, bridges and routers 104, host channel adapters (HCAs) 105-106 and designated management hosts 107. Additionally, the fabric can include, or be connected to, one or more hosts 108 that are not designated management hosts.

The designated management hosts 107 can be installed with HCAs 105, 106, a network software stack and relevant management software in order to perform network management tasks. Furthermore, firmware and management software can be deployed on the switches 101-103, and the bridges and routers 104 to direct traffic flow in the fabric. Here, the host HCA drivers, OS and Hypervisors on hosts 108 that are not designated management hosts may be considered outside the scope of the fabric from a management perspective.

The fabric 100 can be in a single media type, e.g. an IB only fabric, and be fully connected. The physical connectivity in the fabric ensures in-band connectivity between any fabric components in the non-degraded scenarios. Alternatively, the fabric can be configured to include Ethernet (Enet) connectivity outside gateway (GW) external ports on a gateway 109. Additionally, it is also possible to have independent fabrics operating in parallel as part of a larger system. For example, the different fabrics can only be indirectly connected via different HCAs or HCA ports.

InfiniBand (IB) Architecture

IB architecture is a serial point-to-point technology. Each of the IB networks, or subnets, can include a set of hosts interconnected using switches and point-to-point links. A single subnet can be scalable to more than ten-thousand nodes and two or more subnets can be interconnected using an IB router. The hosts and switches within a subnet are addressed using local identifiers (LIDs), e.g. a single subnet may be limited to 49151 unicast addresses.

An IB subnet can employ at least one subnet manager (SM) which is responsible for initializing and starting up the sub-net including the configuration of all the IB ports residing on switches, routers and host channel adapters (HCAs) in the subset. The SM's responsibility also includes routing table calculation and deployment. Routing of the network aims at obtaining full connectivity, deadlock freedom, and load balancing between all source and destination pairs. Routing tables can be calculated at network initialization time and this process can be repeated whenever the topology changes in order to update the routing tables and ensure optimal performance.

At the time of initialization, the SM starts in the discovering phase where the SM does a sweep of the network in order to discover all switches and hosts. During the discovering phase, the SM may also discover any other SMs present and negotiate who should be the master SM. When the discovering phase is completed, the SM can enter a master phase. In the master phase, the SM proceeds with LID assignment, switch configuration, routing table calculations and deployment, and port configuration. At this point, the subnet is up and ready to use.

After the subnet is configured, the SM can monitor the network for changes (e.g. a link goes down, a device is added, or a link is removed). If a change is detected during the monitoring process, a message (e.g. a trap) can be forwarded to the SM and the SM can reconfigure the network. Part of the reconfiguration process, or a heavy sweep process, is the rerouting of the network which can be performed in order to guarantee full connectivity, deadlock freedom, and proper load balancing between all source and destination pairs.

The HCAs in an IB network can communicate with each other using queue pairs (QPs). A QP is created during the communication setup, and a set of initial attributes such as QP number, HCA port, destination LID, queue sizes, and transport service are supplied. On the other hand, the QP associated with the HCAs in a communication is destroyed when the communication is over. An HCA can handle many QPs, each QP consists of a pair of queues, a send queue (SQ) and a receive queue (RQ). There is one such pair present at each end-node that is participating in the communication. The send queue holds work requests to be transferred to the remote node, while the receive queue holds information on what to do with the data received from the remote node. In addition to the QPs, each HCA can have one or more completion queues (CQs) that are associated with a set of send and receive queues. The CQ holds completion notifications for the work requests posted to the send and receive queue.

The IB architecture is a flexible architecture. Configuring and maintaining an IB subnet can be carried out via special in-band subnet management packets (SMPs). The functionalities of a SM can, in principle, be implemented from any node in the IB subnet. Each end-port in the IB subnet can have an associated subnet management agent (SMA) that is responsible for handling SMP based request packets that are directed to it. In the IB architecture, a same port can represent a SM instance or other software component that uses SMP based communication. Thus, only a well defined sub-set of SMP operations can be handled by the SMA.

SMPs use dedicated packet buffer resources in the fabric, e.g. a special virtual lane (VL15) that is not flow-controlled (i.e. SMP packets may be dropped in the case of buffer overflow. Also, SMPs can use either the routing that the SM sets up based on end-port Local Identifiers (LIDs), or SMPs can use direct routes where the route is fully defined by the sender and embedded in the packet. Using direct routes, the packet's path goes through the fabric in terms of an ordered sequence of port numbers on HCAs and switches.

The SM can monitor the network for changes using SMAs that are presented in every switch and/or every HCA. The SMAs communicate changes, such as new connections, disconnections, and port state change, to the SM using traps and notices. A trap is a message sent to alert end-nodes about a certain event. A trap can contain a notice attribute with the details describing the event. Different traps can be defined for different events. In order to reduce the unnecessary distribution of traps, IB applies an event forwarding mechanism where end-nodes are required to explicitly subscribe to the traps they want to be informed about.

The subnet administrator (SA) is a subnet database associated with the master SM to store different information about a subnet. The communication with the SA can help the end-node to establish a QP by sending a general service management datagram (MAD) through a designated QP, .e.g. QP1. Both sender and receiver require information such as source/destination LIDs, service level (SL), maximum transmission unit (MTU), etc. to establish communication via a QP. This information can be retrieved from a data structure known as a path record that is provided by the SA. In order to obtain a path record, the end-node can perform a path record query to the SA, e.g. using the SubnAdmGet/SubnAdmGetable operation. Then, the SA can return the requested path records to the end-node.

The IB architecture provides partitions as a way to define which IB end-ports should be allowed to communicate with other IB end-ports. Partitioning is defined for all non-SMP packets on the IB fabric. The use of partitions other than the default partition is optional. The partition of a packet can be defined by a 16 bit P_Key that consists of a 15 bit partition number and a single bit member type (full or limited).

The partition membership of a host port, or an HCA port, can be based on the premise that the SM sets up the P_Key table of the port with P_Key values that corresponds to the current partition membership policy for that host. In order to compensate for the possibility that the host may not be fully trusted, the IB architecture also defines that switch ports can optionally be set up to do partition enforcement. Hence, the P_Key tables of switch ports that connect to host ports can then be set up to reflect the same partitions as the host port is supposed to be a member of (i.e. in essence equivalent to switch enforced virtual local area network (VLAN) control in Ethernet local area networks).

Since the IB architecture allows full in-band configuration and maintenance of an IB subnet via SMPs, the SMPs themselves are not subject to any partition membership restrictions. Thus, in order to avoid the possibility that any rough or compromised node on the IB fabric is able to define an arbitrary fabric configuration (including partition membership), other protection mechanisms are needed.

M_Keys can be used as the basic protection/security mechanism in the IB architecture for SMP access. An M_Key is a 64 bit value that can be associated individually with each individual node in the IB subnet, and where incoming SMP operations may be accepted or rejected by the target node depending on whether the SMP includes the correct M_Key value (i.e. unlike P_Keys, the ability to specify the correct M_Key value—like a password—represents the access control).

By using an out-of-band method for defining M_Keys associated with switches, it is possible to ensure that no host node is able to set up any switch configuration, including partition membership for the local switch port. Thus, an M_Key value is defined when the switch IB links becomes operational. Hence, as long as the M_Key value is not compromised or “guessed” and the switch out-of-band access is secure and restricted to authorized fabric administrators, the fabric is secure.

Furthermore, the M_Key enforcement policy can be set up to allow read-only SMP access for all local state information except the current M_Key value. Thus, it is possible to protect the switch based fabric from un-authorized (re-)configuration, and still allow host based tools to perform discovery and diagnostic operations.

The flexibility provided by the IB architecture allows the administrators of IB fabrics/subnets, e.g. HPC clusters, to decide whether to use embedded SM instances on one or more switches in the fabric and/or set up one or more hosts on the IB fabric to perform the SM function. Also, since the wire protocol defined by the SMPs used by the SMs is available through APIs, different tools and commands can be implemented based on use of such SMPs for discovery, diagnostics and are controlled independently of any current Subnet Manager operation.

From a security perspective, the flexibility of IB architecture indicates that there is no fundamental difference between root access to the various hosts connected to the IB fabric and the root access allowing access to the IB fabric configuration. This is fine for systems that are physically secure and stable. However, this can be problematic for system configurations where different hosts on the IB fabric are controlled by different system administrators, and where such hosts should be logically isolated from each other on the IB fabric.

Single ID Space in Each IB Partition

In accordance with an embodiment of the invention, a single ID space can be supported in each partition in the IB fabric so that there can be name/address/ID space separation between different partitions, just like the Ethernet VLAN construct where each VLAN ID in principle represents a different Media Access Control (MAC) address space. The complete isolation for the exchange of information between tenants within a single subnet can be achieved based on the secure HCAs and completely independent partitions.

FIG. 2 shows an illustration of supporting consistent handling of internal ID space for different partitions in an IB fabric in accordance with an embodiment of the invention. As shown in FIG. 2, an IB fabric 200 can connect multiple hosts 201-204 and can support multiple partitions, e.g. partitions A-C 221-223. Here, partition A 221 can include host 201 and host 203, partition B 222 can include host 202 and host 204, and partition C 223 can include host 201 and host 202. Each host 201-204 can be connected to the fabric 200 through a HCA 211-214.

The IB fabric 200 allows different separate ID spaces to be associated with different partitions, or with a specific group of partitions. For example, partition A 221 is associated with an ID space A 231 and partition B 222 is associated with an ID space B 232. Furthermore, a SM 210 can allow a same ID value in different ID spaces 231-232 to be used by different tenants 241-244 in the different partitions 221-222.

Examples of these internal IDs can include the alias globally unique identifiers/virtual globally unique identifiers (alias GUIDs/vGUIDs) and the multicast group IDs (MCGIDs). For example, the IB fabric can support the reuse of same vGUID values for different physical ports in different partitions in order to allow vGUID handling to be consistent with how Enet MAC addresses can be reused in different VLANs.

Using a single internal ID space in each partition, the protocols and communication schemes that depend on these specific IDs, e.g. the MCGIDs used by Internet Protocol over InfiniBand (IPoIB), may be subject to temporary Denial of Service (DoS) conditions when the relevant ID is allocated, and thereby occupied, by unauthorized entities. Furthermore, in virtualized systems, the use of alias/virtual GUIDs can be subject to conflicting use of the same alias GUID. In both cases, these conflicts can arise even if there are no shared partitions between the involved nodes.

In accordance with an embodiment of the invention, in order to ensure that no “ID hijacking” can take place, a single physical HCA instance 211-214 may not be shared by two or more tenants 241-244 that use the same IDs in different partitions. Additionally, a higher level management interface 215 controlled by the site/fabric administrator can be used in order to control which IDs 231-232 are used by which physical servers and partitions.

Additionally, the IB fabric 200 can support one or more shared partitions, within which shared services are full members and clients from one or more tenants are limited members. For example, the default partition 224, which is a shared partition, can provide clients in different partitions 221-223 with access to a SA 220 instance, which is a shared service.

In accordance with an embodiment of the invention, different internal ID values, e.g. different multicast or unicast GIDs values that may be included in the global route headers (GRHs), can be used for different partitions on a same HCA (e.g. partition A 221 and partition C 223 may both use HCA 211), in order to ensure that the hardware implementation functions correctly. This is due to that the IB hardware implementation that handles the multicast and unicast packets with the GRHs may not support correlating the multicast or unicast GIDs included in the GRHs with different partitions.

While an HCA 211-214 can be shared by different partitions, the multicast or unicast GIDs may not be shared by different partitions that use overlapping ID value spaces. Thus, when multiple tenants use different partitions, the workloads from different tenants can either use different hosts (thereby use different HCAs) or use different HCAs on the same host. Furthermore, a workload provisioning system, or a human administrator that is aware of the tenant associations for different workloads and the constraints associated with the different tenants and the different partitions, can be used to implement the restrictions in the case of fully independent workloads that have no mutual communication.

Furthermore, a shared service can implement services for multiple clients from different tenants in shared partitions. The shared partitions can be used where clients are limited members and services are full members. In this case, the different shared partitions may not include any overlapping ID values that can cause any involved IB hardware to operate incorrectly. On the other hand, overlapping ID values are allowed where the correct ID to partition relationship can be defined or configured using software. Thus, the multicast ID values are preferably unique across multiple shared partitions implemented by the same HCA, while the unicast GUIDs associated with different client ports or different partitions can be correctly correlated with the correct client even when the GUID values are not unique.

In an IB fabric 200, the SA 220 can be a shared service within the default partition. When the incoming SA request packets from different clients have IB packet headers that represent the default partition 224 and overlapping source GUID values, the request payload can define the context to be a specific unique partition, and also the source physical port can be uniquely defined based on the source LID. The SA 220 can determine the correct scope as long as either the partition specified in the payload or the source LID is different. Also, since the SA 220 has full control of which partitions are valid for which ports in the IB subnet, the SA 220 can verify that partition numbers specified in the SA request payloads are valid for the relevant source port.

Additionally, shared services in multiple shared partitions can use different HCAs for different shared partitions that may have overlapping ID spaces. As a result, multiple hosts may need to be used for a single service when the number of shared partitions is larger than the number of HCAs for any such host.

Furthermore, IB address resolution and multicast group membership can depend on in-band access to the SA 220, which can be implemented as an integral part of the SM implementation 210. Therefore, it is possible for a rough or “runaway” node to cause DoS type effects for other nodes by producing an “unlimited” request rate, as long as the fabric buffering and the SA node receive buffering resources are shared between multiple requesting nodes.

The IB fabric 200 can prevent two or more nodes from establishing traffic patterns that may cause severe congestion scenarios and significant DOS type effects, by preventing different communication flows from sharing the fabric buffering resources. Furthermore, additional provisioning logic can ensure that traffic in different IB partitions use independent fabric buffer resources (such as VLs). However, the number of independent buffer resources and/or link resources may not scale up with the increase of the number of partitions.

In accordance with an embodiment of the invention, the IB fabric 200 can be configured to ensure complete traffic separation in different partitions 221-223 and support different service level agreements (SLAB) for both control and data traffic between different tenants 241-244 in different partitions 221-223. Fabric buffer resources, such as VLs, and routes in the fabric can be provisioned among different partitions 221-223 and different tenants 241-244. Furthermore, workloads for different tenants can also be provisioned onto physical compute, storage and external network (or gateway) resources in the fabric 200.

The communication for each tenant/system can be contained within a corresponding sub-set of the complete fabric topology, including the corresponding storage and external network resources. For example, the communication between different sets of hosts on a same leaf switch with a single switch chip, and the communication between non-overlapping sets of leaf-switches in an IB fabric configuration, can be completely independent since the single switch chip ensures a full crossbar feature. Furthermore, if shared services are used between the tenants, then separate fabric buffer resources (VLs) can be used for this communication in order to avoid impact on the tenant/system internal traffic.

For more complex topologies as well as more complex communication patterns between different components and sub-systems/sub-topologies, other advanced methods for handling allocation and adjustment of bandwidth can be implemented. These advanced methods can include both static and dynamic routing, static and dynamic SL/VL usage, as well as dynamic monitoring and handling of congestion conditions.

FIG. 3 illustrates an exemplary flow chart for supporting consistent handling of internal ID space for different partitions in an IB fabric in accordance with an embodiment of the invention. As shown in FIG. 3, at step 301, a plurality of partitions can be provided for a subnet with a plurality of hosts, wherein each partition of the subnet includes one or more hosts and each host can be associated with one or more physical HCA instances. Then, at step 302, each partition in the subnet can be associated with a separate internal ID space. Finally, at step 303, a single physical HCA instance can be prevented from being shared by different tenants that use a same internal ID value in different partitions.

The present invention may be conveniently implemented using one or more conventional general purpose or specialized digital computer, computing device, machine, or microprocessor, including one or more processors, memory and/or computer readable storage media programmed according to the teachings of the present disclosure. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art.

In some embodiments, the present invention includes a computer program product which is a storage medium or computer readable medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the present invention. The storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.

The foregoing description of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalence. 

What is claimed is:
 1. A method for supporting consistent handling of internal ID space for different partitions in an InfiniBand (IB) network, comprising: providing a subnet manager (SM) in a subnet of an interconnected IB network, wherein the subnet manager runs on one or more processors and the subnet includes a plurality of partitions and a plurality of hosts, wherein each partition of the subnet includes a plurality of hosts, each host is associated with a physical host channel adaptor (HCA), and each HCA has at least one physical port that connects the HCA to the subnet of the interconnected IB network, wherein the plurality of partitions includes a default partition that is a shared partition, and wherein each physical port of each HCA that is associated with each host of the plurality of hosts is a limited member of the default partition: providing, as a shared service, a subnet administrator (SA) that is a subnet database associated with the SM and that stores information about the subnet; including the SA shared service as a full member of the default partition; associating, by the SM, a first partition of the plurality of partitions with a first identification space that is internal to the first partition and that contains a plurality of identifiers (IDs); associating, by the SM, a second partition of the plurality of partitions with a second identification space that is internal to the second partition and that contains the plurality of IDs; including, as a member of the first partition, a port of a first HCA associated with a one of the plurality of hosts included in the first partition; including, as a member of the second partition, a port of a second HCA associated with a one of the plurality of hosts included in the second partition; receiving, at the SA, a first request packet from the port of the first HCA associated with the one of the plurality of hosts included in the first partition, wherein the first request packet includes in a packet header section of the first request packet a first ID of the plurality of IDs and an identification of the default partition, and wherein the first request packet includes in a payload section of the first request packet an identification of the first partition; using, by the SA, the identification of the first partition in the payload section of the first request packet and the first ID of the plurality of IDs in the packet header section of the first request packet to correlate the first ID to the port of the first HCA associated with the one of the plurality of hosts included in the first partition with regard to the first request packet; receiving, at the SA, a second request packet from the port of the second HCA associated with the one of the plurality of hosts included in the second partition, wherein the second request packet includes in a packet header section of the second request packet the first ID of the plurality of IDs and an identification of the default partition, and wherein the second request packet includes in a payload section of the second request packet an identification of the second partition; and using, by the SA, the identification of the second partition in the payload section of the second request packet and the first ID of the plurality of IDs in the packet header section of the second request packet to correlate the first ID to the port of the second HCA associated with the one of the plurality of hosts included in the second partition with regard to the second request packet.
 2. The method according to claim 1, further comprising: wherein the first ID is an alias/virtual GUID.
 3. The method according to claim 1, further comprising: enabling reusing a same ID value of the plurality of ID values for different physical ports in different partitions in the subnet.
 4. The method according to claim 1, further comprising: providing a management interface that controls which ID can be used by which physical servers and partitions.
 5. The method according to claim 1, further comprising: enabling additional shared services that are full members of the shared default partition.
 6. The method according to claim 5, further comprising: wherein each shared service is implemented with a different host.
 7. The method according to claim 6, further comprising: wherein each host is associated with a separate HCAs.
 8. The method according to claim 1, further comprising: provisioning and ensuring independent fabric buffer resources for different tenants in the fabric, and permitting traffic in different partitions to share buffer resources in the fabric.
 9. The method of claim 1, wherein different tenants that are associated with a same ID of the plurality of IDs, and are associated with different partitions of the subnet, use separate HCAs.
 10. A system for consistent handling of internal ID space for different partitions in an InfiniBand (IB) network, comprising: one or more processors; a subnet manager (SM) in a subnet of an interconnected IB network, wherein the subnet manager runs on the one or more processors and the subnet includes a plurality of partitions and a plurality of hosts, wherein each partition of the subnet includes a plurality of hosts, each host is associated with a physical host channel adaptor (HCA), and each HCA has at least one physical port that connects the HCA to the subnet of the interconnected IB network, wherein the plurality of partitions includes a default partition that is a shared partition, and wherein each physical port of each HCA that is associated with each host of the plurality of hosts is a limited member of the default partition; a subnet administrator (SA) that runs on the one or more processors, that is a subnet database associated with the SM, that stores information about the subnet, that is provided as a shared service, and that is a full member of the default partition; a first partition of the plurality of partitions that is associated with a first identification space that is internal to the first partition and that contains a plurality of identifiers (IDs); a second partition of the plurality of partitions that is associated with a second identification space that is internal to the second partition and that contains the plurality of IDs; a port of a first HCA associated with a one of the plurality of hosts included in the first partition, wherein the port of a first HCA associated with a one of the plurality of hosts included in the first partition is a member of the first partition; a port of a second HCA associated with a one of the plurality of hosts included in the second partition, wherein the port of a second HCA associated with a one of the plurality of hosts included in the second partition is a member of the second partition; wherein the SA operates to: receive a first request packet from the port of the first HCA associated with the one of the plurality of hosts included in the first partition, wherein the first request packet includes in a packet header section of the first request packet a first ID of the plurality of IDs and an identification of the default partition, and wherein the first request packet includes in a payload section of the first request packet an identification of the first partition; use the identification of the first partition in the payload section of the first request packet and the first ID of the plurality of IDs in the packet header section of the first request packet to correlate the first ID to the port of the first HCA associated with the one of the plurality of hosts included in the first partition with regard to the first request packet; receive a second request packet from the port of the second HCA associated with the one of the plurality of hosts included in the second partition, wherein the second request packet includes in a packet header section of the second request packet the first ID of the plurality of IDs and an identification of the default partition, and wherein the second request packet includes in a payload section of the second request packet an identification of the second partition; and use the identification of the second partition in the payload section of the second request packet and the first ID of the plurality of IDs in the packet header section of the second request packet to correlate the first ID to the port of the second HCA associated with the one of the plurality of hosts included in the second partition with regard to the second request packet.
 11. The system according to claim 10, wherein: wherein the first ID is an alias/virtual GUID.
 12. The system according to claim 10, wherein: a same ID value of the plurality of ID values can be reused for different physical ports in different partitions in the subnet.
 13. The system according to claim 10, further comprising: a management interface that controls which ID can be used by which physical servers and partitions.
 14. The system according to claim 10, wherein: additional shared services are full members of the default shared partition.
 15. The system according to claim 10, further comprising: the SA is a single shared service for all hosts in different partitions in the subnet.
 16. The system according to claim 14, wherein: multiple hosts are used to implement the shared services in order to provide shared services implemented via separate HCAs.
 17. The system of claim 10, wherein different tenants that are associated with a same ID of the plurality of IDs, and are associated with different partitions of the subnet, use separate HCAs.
 18. A non-transitory machine readable storage medium having instructions stored thereon for supporting consistent handling of internal ID space for different partitions in an InfiniBand (IB) network, the instructions, when executed, cause a system to perform the steps of: providing a subnet manager (SM) in a subnet of an interconnected IB network, wherein the subnet manager runs on one or more processors and the subnet includes a plurality of partitions and a plurality of hosts, wherein each partition of the subnet includes a plurality of hosts, each host is associated with a physical host channel adaptor (HCA), and each HCA has at least one physical port that connects the HCA to the subnet of the interconnected IB network, wherein the plurality of partitions includes a default partition that is a shared partition, and wherein each physical port of each HCA that is associated with each host of the plurality of hosts is a limited member of the default partition; providing, as a shared service, a subnet administrator (SA) that is a subnet database associated with the SM and that stores information about the subnet; including the SA shared service as a full member of the default partition; associating, by the SM, a first partition of the plurality of partitions with a first identification space that is internal to the first partition and that contains a plurality of identifiers (IDs); associating, by the SM, a second partition of the plurality of partitions with a second identification space that is internal to the second partition and that contains the plurality of IDs; including, as a member of the first partition, a port of a first HCA associated with a one of the plurality of hosts included in the first partition; including, as a member of the second partition, a port of a second HCA associated with a one of the plurality of hosts included in the second partition; receiving, at the SA, a first request packet from the port of the first HCA associated with the one of the plurality of hosts included in the first partition, wherein the first request packet includes in a packet header section of the first request packet a first ID of the plurality of IDs and an identification of the default partition, and wherein the first request packet includes in a payload section of the first request packet an identification of the first partition; using, by the SA, the identification of the first partition in the payload section of the first request packet and the first ID of the plurality of IDs in the packet header section of the first request packet to correlate the first ID to the port of the first HCA associated with the one of the plurality of hosts included in the first partition with regard to the first request packet; receiving, at the SA, a second request packet from the port of the second HCA associated with the one of the plurality of hosts included in the second partition, wherein the second request packet includes in a packet header section of the second request packet the first ID of the plurality of IDs and an identification of the default partition, and wherein the second request packet includes in a payload section of the second request packet an identification of the second partition; and using, by the SA, the identification of the second partition in the payload section of the second request packet and the first ID of the plurality of IDs in the packet header section of the second request packet to correlate the first ID to the port of the second HCA associated with the one of the plurality of hosts included in the second partition with regard to the second request packet.
 19. The non-transitory machine readable storage medium of claim 18, wherein different tenants that are associated with a same ID of the plurality of IDs, and are associated with different partitions of the subnet, use separate HCAs. 